package org.bsgroup.bsp.events
{
	import flash.events.Event;
	public class BSPEvent extends Event
	{
		public static const BSP_CONNECT : String = "bsp_connect";
		public static const BSP_CLOSE : String = "bsp_close";
		public static const BSP_IO_ERROR : String = "bsp_io_error";
		public static const BSP_SEC_ERROR : String = "bsp_sec_error";
		public static const BSP_STREAM : String = "bsp_stream";
		public static const BSP_PACKET : String = "bsp_packet";
		public static const BSP_HEARTBEAT : String = "bsp_heartbeat";
		public static const BSP_SERVER_LOST : String = "bsp_server_lost";
		
		public function BSPEvent(type : String, bubbles : Boolean = false, cancelable : Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone() : Event
		{
			return new BSPEvent(type, bubbles, cancelable);
		}
	}
}